package com.jichangxiu.server.platform.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * PlatformMenuEditVo:
 *
 * @author Jcx
 * @create 2023-03-18 21:59
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "修改菜单实体")
public class PlatformMenuEditVo {

    @Schema(description = "部门ID")
    private String menuId;

    @Schema(description = "父菜单ID")
    private String parentId;

    @Schema(description = "菜单名称")
    private String name;

    @Schema(description = "菜单路径")
    private String path;

    @Schema(description = "菜单组件")
    private String component;

    @Schema(description = "重定向地址")
    private String redirect;

    @Schema(description = "显示顺序")
    private Double sort;

    @Schema(description = "显示名称")
    private String metaTitle;

    @Schema(description = "显示图标")
    private String metaIcon;

    @Schema(description = "菜单类型")
    private String metaType;

    @Schema(description = "菜单颜色值")
    private String metaColor;

    @Schema(description = "菜单标签")
    private String metaTag;

    @Schema(description = "打开子页父页为激活状态，父页路由地址")
    private String metaActive;

    @Schema(description = "是否隐藏菜单（true隐藏 false显示）")
    private Boolean metaHidden;

    @Schema(description = "是否隐藏面包屑（true隐藏 false显示）")
    private Boolean metaHiddenBreadcrumb;

    @Schema(description = "是否整页打开路由（true全屏 false不全屏）")
    private Boolean metaFullPage;

    @Schema(description = "菜单使用类型")
    private String buyType;

    @Schema(description = "状态（false停用 true正常）")
    private Boolean status;

    @Schema(description = "菜单权限列表")
    private List<PlatformMenuPowerEditVo> platformMenuPowerEditVoList;

}
